package br.edu.ifmg.ada.model.business;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName="tb_matricula")
public class Matricula {

	@DatabaseField(foreign=true, canBeNull=true, columnName="_id_aluno")
	private Aluno aluno;
	@DatabaseField(foreign=true, canBeNull=true, columnName="_id_aluno")
	private Disciplina disciplina;
	
	public Matricula(){}
	public Matricula(Aluno aluno, Disciplina disciplina){
		this.aluno = aluno;
		this.disciplina = disciplina;
	}
	public Aluno getAluno() {
		return aluno;
	}
	public void setAluno(Aluno aluno) {
		this.aluno = aluno;
	}
	public Disciplina getDisciplina() {
		return disciplina;
	}
	public void setDisciplina(Disciplina disciplina) {
		this.disciplina = disciplina;
	}
	
}
